/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved.
 * distributed with this file and available online at
 */
package com.lap.auth.adapter.driving.persistence.role.mapper;

import com.lap.auth.adapter.driving.persistence.role.po.RoleDataScopePo;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RoleDataScopeMapper {

  void insert(RoleDataScopePo roleDataScopePo);

  int deleteByRoleId(@Param("roleId") Integer roleId);

  RoleDataScopePo selectByRoleId(@Param("roleId") Integer roleId);

  List<RoleDataScopePo> selectByRoleIds(@Param("roleIds") List<Integer> roleIds);
}
